<?php
include_once './Url.class.php';
$url = new Url();

$router = $_GET['r'];

$oriUrl = $url->getUrl($router);

if(!$oriUrl){
    echo '网址有误!';
    exit;
}
$url->incHits($router);
header('Location:'.$oriUrl,302);
